/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.miracleteam.miracle.services.servicesImpl;

import com.miracleteam.miracle.dao.YKienNhanXetDAO;
import com.miracleteam.miracle.dao.daoImpl.YKienNhanXetDAOImpl;
import com.miracleteam.miracle.entities.Ykiennhanxetgianhang;
import com.miracleteam.miracle.services.YKienNhanXetService;
import java.util.List;

/**
 *
 * @author DangKhoa
 */
public class YKienNhanXetServiceImpl implements YKienNhanXetService{

    public List LayYKienNhanXet(String MaGh) {
        YKienNhanXetDAO ykDao=new YKienNhanXetDAOImpl();
        return ykDao.LayYKienNhanXet(MaGh);
    }
      public int ThemDanhGia( Ykiennhanxetgianhang yk)
      {
           YKienNhanXetDAO ykDao=new YKienNhanXetDAOImpl();
           return ykDao.ThemDanhGia(yk);
      }
       public String PhatSinhMaNhanXet()
       {
             YKienNhanXetDAO ykDao=new YKienNhanXetDAOImpl();
             return ykDao.PhatSinhMaNhanXet();
       }
    
}
